package com.woniuxy.course.service;

import com.woniuxy.course.entity.ArticleRelease;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cyh
 * @since 2020-07-23
 */
public interface ArticleReleaseService extends IService<ArticleRelease> {
    //上传文件
   public String upload(MultipartFile file);
    //发布文章
    Integer releaseArticle(ArticleRelease articleRelease);
    //假删除
    Integer deleteArticleById(long id);

    //id查询
    ArticleRelease findArticleById(Long id);

    Integer updateArticleById(ArticleRelease articleRelease);
}
